package com.lee.auth.dto.request;

import lombok.Setter;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @author Lee HN
 * @date 2019/11/28 18:23
 */
@Setter
public class ThirdLogin {
    //第三方社交平台
    @Min(1)
    @Max(4)
    public int provider;
    //openId
    @NotBlank
    public String openId;
    //第三方认证token
    @NotBlank
    public String token;

}
